MailPoet\Cron\Workers\SendingQueue\SendingQueue A

Total Complexity 73
Dependencies 29
Dependents 13
Total lines 652
Lines of code 447
Logical lines of code 238
Comment lines 77
Methods 18
Properties 19

Methods 18

Method Rating Maintainability Complexity Lines of code
processSending()
C
29
21 144
processQueue()
A
39 6 77
processSendResult()
A
45 8 41
process()
S
52 7 26
endSending()
S
50 6 30
checkDeletedSegments()
S
58 5 16
reScheduleBounceTask()
S
60 3 12
__construct()
S
54 2 21
deleteTaskIfNewsletterDoesNotExist()
S
67 3 8
deleteTask()
S
61 2 13
sendNewsletters()
S
61 1 15
sendNewsletter()
S
61 1 15
stopProgress()
S
69 2 7
isTimeout()
S
66 2 8
getBatchSize()
S
81 1 3
startProgress()
S
77 1 4
getExecutionLimit()
S
80 1 3
enforceSendingAndExecutionLimits()
S
77 1 4